package com.patMall.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
 * @Author 750909637@qq.com
 * @PackageName patMall
 * @Package com.patMall.entity
 * @Date 2024/1/23 16:25
 * @Version 1.0
 */
public class Store {
   private Integer storeId;
   private String storeName;
   private String storeImg;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
   private Date storeTime;
   private int storeState;
    private List<Concern> concernList;
    private User user;
    private List<Commodity> commodityList;
    public Store() {
    }

    @Override
    public String toString() {
        return "Store{" +
                "storeId=" + storeId +
                ", storeName='" + storeName + '\'' +
                ", storeImg='" + storeImg + '\'' +
                ", storeTime=" + storeTime +
                ", storeState=" + storeState +
                ", concernList=" + concernList +
                ", user=" + user +
                ", commodityList=" + commodityList +
                '}';
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreImg() {
        return storeImg;
    }

    public void setStoreImg(String storeImg) {
        this.storeImg = storeImg;
    }

    public Date getStoreTime() {
        return storeTime;
    }

    public void setStoreTime(Date storeTime) {
        this.storeTime = storeTime;
    }

    public int getStoreState() {
        return storeState;
    }

    public void setStoreState(int storeState) {
        this.storeState = storeState;
    }

    public List<Concern> getConcernList() {
        return concernList;
    }

    public void setConcernList(List<Concern> concernList) {
        this.concernList = concernList;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<Commodity> getCommodityList() {
        return commodityList;
    }

    public void setCommodityList(List<Commodity> commodityList) {
        this.commodityList = commodityList;
    }
}
